import { Type } from "class-transformer";

export class TypeMaterialsItem {
  id!: number;
  name!: string;
  quantity!: number;
}

export class UniverseTypeMaterials {
  id!: number;
  name!: string;
  @Type(() => TypeMaterialsItem)
  materials!: TypeMaterialsItem[];
}
